﻿namespace App.CommonModels.Db
{
    public class DbEntity<T, T1, T2, T3, T4> : IIdEntity<T>, ICreateEntity<T1, T2>, IUpdateEntity<T3, T4>, IIsDelete
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public virtual T id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public virtual T1 createId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public virtual T2 createDt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public virtual T3 updateId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public virtual T4 updateDt { get; set; }

        public virtual bool isDelete { get; set; }
    }
}
